#include <iostream>
using namespace std;

int main() {
    int sum = 0;
    for (int i = 100; i <= 1000; ++i) sum += i;
    cout << "sum= " << sum << endl;
    return 0;
}